package com.csnj.core.Srvs.SysManager;

import com.csnj.common.exception.IRCException;
import com.csnj.common.jwt.JwtAuthenticationRequest;
import com.csnj.common.jwt.JwtInfo;
import com.csnj.core.exception.TokenInvalidException;

public interface AuthSrvs {
    String validate(JwtAuthenticationRequest authenticationRequest) throws IRCException;
    String refresh(String oldToken) throws TokenInvalidException;
    JwtInfo validate(String token) throws TokenInvalidException;
    void SaveLoginLog(String userID, String ip);
}
